package com.hst.capacity.domain.model.entity.order.base;

import lombok.Data;
import org.hibernate.annotations.CreationTimestamp;

import javax.persistence.Column;
import javax.persistence.MappedSuperclass;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * 司机任务订单关联表基类
 */
@Data
@MappedSuperclass
public class BaseOrderTaskEntity {
    private String idTask;//主键（任务ID）
    private String idOrder;//订单id
    private String createBy="capacity";//创建人 DEFAULT 'system'
    @CreationTimestamp
    @Column(updatable = false)
    private LocalDateTime createTime;

}
